﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DormMS.Model;
using DormMS.Model.SearchModels;

namespace DormMS.IService
{
    public interface ISysCodeService
    {
        List<SysCode> GetSysCodeList(SysCodeSearchModel search, ref int total);

        SysCode GetSysCodeByCodeNameAndCodeType(string CodeType, string CodeName);

        SysCode GetSysCodeByCodeNameAndCode(string CodeType, int Code);

        List<SysCode> GetSysCodeByCodeType(string CodeType);
    }
}
